import { h, reactive, withDirectives } from 'vue';
import { ElCard, ElForm, ElFormItem } from 'element-plus';
// Form->Card->Space  SpaceItem->FormItem->Node
import {
	$ref,
	$jiess,
	$watch,
	$computed,
	$reactive,
	$component,
	$watchEffect,
} from '@jiess/plus';
import ParentHook from '../../_resource/vue/3/element/Hook.js';
class Hook extends ParentHook {
	constructor() {
		super({
			$ref,
			$jiess,
			$watch,
			$computed,
			$reactive,
			$component,
			$watchEffect,
			// ----------------------
			...window?.JiessCore,
			// ----------------------
			h,
			reactive,
			withDirectives,
			Card: ElCard,
			Form: ElForm,
			FormItem: ElFormItem
		});
		this.env = 'cli';
	}
}
export default new Hook();